
import Vue from 'vue'
import App from './App.vue'
import router from './router'

Vue.config.productionTip = false

// 导入仓库对象，并在根组件中注入
Vue.filter('strFunction', function (value) {
    if(!value){
        return;
    }
  let result = value.substr(0,28)+" ... ..."
  return result;
})
import store from "./stores/store.js";
new Vue({
  router,
  store,
  render(h){
    return h(App);
  }
}).$mount('#app')
